/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.inathitunzana.principles.composition.Impl;

import com.inathitunzana.principles.composition.Car;
import com.inathitunzana.principles.composition.Engine;

/**
 *
 * @author Student
 */
public class CarImpl implements Car {
   private String make;
   private String model;
   private String manufacturer;
   Engine engine;

    public void SetMake(String make) {
        this.make = make;
    }

    public String GetMake() {
        return make;
    }

    public void SetModel(String model) {
        this.model = model;
    }

    public String GetModel() {
        return model;
    }

    public void SetManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() {
        return manufacturer;
    }

   public void SetEngine (Engine engine)
   {
      this.engine = engine;
   }

   public Engine GetEngine()
   {
        return engine;
   }
}


